package org.example.code.logger;


import lombok.extern.slf4j.Slf4j;
import lombok.extern.slf4j.XSlf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


@RestController
@Slf4j
public class LoggerDome2 {
    @RequestMapping("logger2")
    public String logger(){
        log.info("=======我报错了，骗你的=========");
        return "访问成功";
    }
}
